<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title><{$userinfo.username}>的个人主页</title>
	<meta name="keywords" content="后盾问答"/>
	<meta name="description" content="后盾问答"/>
	<script>
		var UID = <{if isset($smarty.get.uid)}><{$smarty.get.uid}><{else}>1<{/if}>;
	</script>
	<{include file="../Common/head.html"}>
	<link rel="stylesheet" href="<{$smarty.const.__PUBLIC__}>/Css/member.css" />
	<script type="text/javascript" src="<{$smarty.const.__PUBLIC__}>/Js/home.js"></script>
	<script	type="text/javascript" src="<{$smarty.const.__PUBLIC__}>/Js/homequesttab.js"></script>
<!--------------------中部-------------------->
	<div id='center'>
<!-- 左侧 -->
<{include file="../Common/my_left.html"}>
<!-- 左侧结束 -->
		<div id='right'>
	
			<p class='title'>我的首页</p>

			<ul class='property'>
				<li>金币：<span><{$userinfo.point}></span></li>
				<li>经验值：<span><{$userinfo.exp}></span></li>
				<li>采纳率：<span><{$cnl}></span></li>
			</ul>
			<div class='list'>
				<p><span>我的提问 <b>(共<{count($myask)}>条)</b></span><a href="<{$smarty.const.__APP__}>?c=home&a=myask">更多>></a></p>
				<table>
						<{if count($myask)==0}>
						<tr height='140'>
							<td>你还没有进行过提问 V_V</td>
						</tr>
						<{else}>
						<tr>
							<th class='t1'>标题</th>
							<th>回答数</th>
							<th class='t3'>更新时间</th>
						</tr>
						<{foreach from=$myask item=v}>
						<tr>
							<td class='t1'>
								<a href="<{$smarty.const.__APP__}>?c=show&asid=<{$v.asid}>"><{$v.content|substr:45}></a><span>[ <{$v.title}> ]</span>
							</td>
							<td><{$v.answer}></td>
							<td class='t3'><{$v.time|date_format:"%Y-%m-%d"}></td>
						</tr>
						<{/foreach}>
						<{/if}>
				</table>
			</div>
			<div class='list'>
				<p><span>我的回答 <b>(共<{count($myanswer)}>条)</b></span><a href="">更多>></a></p>
				<table>
					<{if count($myanswer)==0}>
					<tr height='140'>
						<td>你还没有进行过提问 V_V</td>
					</tr>
					<{else}>
					<tr>
						<th class='t1'>标题</th>
						<th>回答</th>
						<th class='t3'>更新时间</th>
					</tr>
						
							<{foreach from=$myanswer item=v}>
							<tr>
								<td class='t1'>
									<a href="<{$smarty.const.__APP__}>?c=show&asid=<{$v.asid}>"><{$v.content|substr:45}></a><span>[ <{$v.title}> ]</span>
								</td>
								<td><{$v.answer}></td>
								<td class='t3'><{$v.time|date_format:"%Y-%m-%d"}></td>
							</tr>
							<{/foreach}>
					<{/if}>
				</table>
			</div>
		</div>
	</div>
<!--------------------中部结束-------------------->

<!--------------------底部-------------------->
<!-- 底部 -->
	<{include file="../Common/foot.html"}>
<!--[if IE 6]>
    <script type="text/javascript" src="./Js/iepng.js"></script>
    <script type="text/javascript">
    	DD_belatedPNG.fix('.logo','background');
        DD_belatedPNG.fix('.nav-sel a','background');
        DD_belatedPNG.fix('.ask-cate i','background');
    </script>
<![endif]-->
</body>
</html>
<!-- 底部结束 -->